package cn.pfz.mapper;


import cn.pfz.domain.SystemDictionary;
import cn.pfz.domain.SystemDictionaryItem;
import cn.pfz.query.SystemDictionaryItemQueryObject;

import java.util.List;

public interface SystemDictionaryItemMapper {
    int deleteByPrimaryKey(Long id);

    int insert(SystemDictionaryItem record);

    SystemDictionaryItem selectByPrimaryKey(Long id);

    List<SystemDictionaryItem> selectAll();

    int updateByPrimaryKey(SystemDictionaryItem record);

    //根据分类主表id查询对应的明细表的数据
    List<SystemDictionaryItem> selectForList( SystemDictionaryItemQueryObject qo);

    List<SystemDictionary>selectParent();

    List<SystemDictionaryItem> selectByTpyeid(int i);
}